{smcl}
{com}{sf}{ul off}{txt}{.-}
      name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Han\Desktop\document\불평등 연구\주제30_불평등과 백신\humanities and social science communications\data\analysis_2.smcl
  {txt}log type:  {res}smcl
 {txt}opened on:  {res}14 Sep 2024, 00:23:03

{com}. gen ln_income = ln( average_premium )

. 
. 
. 
. encode region , gen(region_1)

. 
. tsset region_1 year
{res}{txt}{col 8}panel variable:  {res}region_1 (unbalanced)
{txt}{col 9}time variable:  {res}{col 25}year, 2015 to 2021, but with gaps
{txt}{col 17}delta:  {res}1 unit

{com}. 
. 
. 
. 
. 
. 
. 
. reg vaccination palma ln_income high_education mean_age gender_ratio urbanization population_hospital 

{txt}      Source {c |}       SS           df       MS      Number of obs   ={res}     1,764
{txt}{hline 13}{c +}{hline 34}   F(7, 1756)      = {res}   399.33
{txt}       Model {c |} {res} 8.56107765         7  1.22301109   {txt}Prob > F        ={res}    0.0000
{txt}    Residual {c |} {res} 5.37809181     1,756  .003062695   {txt}R-squared       ={res}    0.6142
{txt}{hline 13}{c +}{hline 34}   Adj R-squared   ={res}    0.6126
{txt}       Total {c |} {res} 13.9391695     1,763  .007906506   {txt}Root MSE        =   {res} .05534

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        vaccination{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}palma {c |}{col 21}{res}{space 2}-.0127193{col 33}{space 2} .0014558{col 44}{space 1}   -8.74{col 53}{space 3}0.000{col 61}{space 4}-.0155745{col 74}{space 3}-.0098641
{txt}{space 10}ln_income {c |}{col 21}{res}{space 2} .1630146{col 33}{space 2} .0099707{col 44}{space 1}   16.35{col 53}{space 3}0.000{col 61}{space 4} .1434589{col 74}{space 3} .1825702
{txt}{space 5}high_education {c |}{col 21}{res}{space 2} .0016183{col 33}{space 2} .0025241{col 44}{space 1}    0.64{col 53}{space 3}0.522{col 61}{space 4}-.0033323{col 74}{space 3} .0065689
{txt}{space 11}mean_age {c |}{col 21}{res}{space 2} .0134494{col 33}{space 2}  .000495{col 44}{space 1}   27.17{col 53}{space 3}0.000{col 61}{space 4} .0124786{col 74}{space 3} .0144203
{txt}{space 7}gender_ratio {c |}{col 21}{res}{space 2} .0023579{col 33}{space 2} .0002891{col 44}{space 1}    8.16{col 53}{space 3}0.000{col 61}{space 4} .0017909{col 74}{space 3} .0029248
{txt}{space 7}urbanization {c |}{col 21}{res}{space 2}-.0006828{col 33}{space 2}  .000103{col 44}{space 1}   -6.63{col 53}{space 3}0.000{col 61}{space 4}-.0008849{col 74}{space 3}-.0004807
{txt}population_hospital {c |}{col 21}{res}{space 2}-2.96e-06{col 33}{space 2} 9.89e-07{col 44}{space 1}   -2.99{col 53}{space 3}0.003{col 61}{space 4}-4.90e-06{col 74}{space 3}-1.02e-06
{txt}{space 14}_cons {c |}{col 21}{res}{space 2}-2.136615{col 33}{space 2} .1164222{col 44}{space 1}  -18.35{col 53}{space 3}0.000{col 61}{space 4}-2.364956{col 74}{space 3}-1.908275
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{res}
{com}. 
. 
. 
. fracreg probit vaccination palma ln_income high_education mean_age gender_ratio urbanization population_hospital

{res}{txt}Iteration 0:{space 3}log pseudolikelihood = {res:-1365.1999}  
Iteration 1:{space 3}log pseudolikelihood = {res: -1204.462}  
Iteration 2:{space 3}log pseudolikelihood = {res:-1204.4333}  
Iteration 3:{space 3}log pseudolikelihood = {res:-1204.4333}  
{res}
{txt}Fractional probit regression{col 49}Number of obs{col 67}= {res}     1,764
{txt}{col 49}Wald chi2({res}7{txt}){col 67}= {res}   2372.49
{txt}{col 49}Prob > chi2{col 67}= {res}    0.0000
{txt}Log pseudolikelihood = {res}-1204.4333{txt}{col 49}Pseudo R2{col 67}= {res}    0.0141

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 21}{c |}{col 33}    Robust
{col 1}        vaccination{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      z{col 53}   P>|z|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}palma {c |}{col 21}{res}{space 2}-.0324621{col 33}{space 2} .0036977{col 44}{space 1}   -8.78{col 53}{space 3}0.000{col 61}{space 4}-.0397094{col 74}{space 3}-.0252148
{txt}{space 10}ln_income {c |}{col 21}{res}{space 2} .4146307{col 33}{space 2} .0312998{col 44}{space 1}   13.25{col 53}{space 3}0.000{col 61}{space 4} .3532842{col 74}{space 3} .4759773
{txt}{space 5}high_education {c |}{col 21}{res}{space 2} .0044069{col 33}{space 2} .0059436{col 44}{space 1}    0.74{col 53}{space 3}0.458{col 61}{space 4}-.0072422{col 74}{space 3} .0160561
{txt}{space 11}mean_age {c |}{col 21}{res}{space 2} .0341502{col 33}{space 2} .0012916{col 44}{space 1}   26.44{col 53}{space 3}0.000{col 61}{space 4} .0316187{col 74}{space 3} .0366816
{txt}{space 7}gender_ratio {c |}{col 21}{res}{space 2} .0060128{col 33}{space 2} .0008047{col 44}{space 1}    7.47{col 53}{space 3}0.000{col 61}{space 4} .0044356{col 74}{space 3}   .00759
{txt}{space 7}urbanization {c |}{col 21}{res}{space 2}-.0017221{col 33}{space 2} .0002858{col 44}{space 1}   -6.03{col 53}{space 3}0.000{col 61}{space 4}-.0022823{col 74}{space 3} -.001162
{txt}population_hospital {c |}{col 21}{res}{space 2}-7.44e-06{col 33}{space 2} 2.86e-06{col 44}{space 1}   -2.60{col 53}{space 3}0.009{col 61}{space 4}-.0000131{col 74}{space 3}-1.83e-06
{txt}{space 14}_cons {c |}{col 21}{res}{space 2}-6.706597{col 33}{space 2} .3447971{col 44}{space 1}  -19.45{col 53}{space 3}0.000{col 61}{space 4}-7.382386{col 74}{space 3}-6.030807
{txt}{hline 20}{c BT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}

{com}. 
. 
. 
. xtreg vaccination palma ln_income high_education mean_age gender_ratio urbanization population_hospital, re
{res}
{txt}Random-effects GLS regression                   Number of obs     = {res}     1,764
{txt}Group variable: {res}region_1                        {txt}Number of groups  = {res}       255

{txt}R-sq:                                           Obs per group:
     within  = {res}0.5126                                         {txt}min = {res}         1
{txt}     between = {res}0.7050                                         {txt}avg = {res}       6.9
{txt}     overall = {res}0.6081                                         {txt}max = {res}         7

                                                {txt}Wald chi2({res}7{txt})      =  {res}  2213.30
{txt}corr(u_i, X)   = {res}0{txt} (assumed)                    Prob > chi2       =     {res}0.0000

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        vaccination{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      z{col 53}   P>|z|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}palma {c |}{col 21}{res}{space 2}-.0149784{col 33}{space 2} .0018821{col 44}{space 1}   -7.96{col 53}{space 3}0.000{col 61}{space 4}-.0186673{col 74}{space 3}-.0112895
{txt}{space 10}ln_income {c |}{col 21}{res}{space 2} .1909887{col 33}{space 2} .0098638{col 44}{space 1}   19.36{col 53}{space 3}0.000{col 61}{space 4}  .171656{col 74}{space 3} .2103215
{txt}{space 5}high_education {c |}{col 21}{res}{space 2} .0018236{col 33}{space 2} .0031794{col 44}{space 1}    0.57{col 53}{space 3}0.566{col 61}{space 4}-.0044079{col 74}{space 3} .0080552
{txt}{space 11}mean_age {c |}{col 21}{res}{space 2} .0153928{col 33}{space 2} .0005788{col 44}{space 1}   26.60{col 53}{space 3}0.000{col 61}{space 4} .0142585{col 74}{space 3} .0165271
{txt}{space 7}gender_ratio {c |}{col 21}{res}{space 2} .0018809{col 33}{space 2} .0003475{col 44}{space 1}    5.41{col 53}{space 3}0.000{col 61}{space 4} .0011999{col 74}{space 3}  .002562
{txt}{space 7}urbanization {c |}{col 21}{res}{space 2}-.0004741{col 33}{space 2} .0001301{col 44}{space 1}   -3.64{col 53}{space 3}0.000{col 61}{space 4}-.0007291{col 74}{space 3}-.0002191
{txt}population_hospital {c |}{col 21}{res}{space 2}-2.44e-06{col 33}{space 2} 9.38e-07{col 44}{space 1}   -2.60{col 53}{space 3}0.009{col 61}{space 4}-4.28e-06{col 74}{space 3}-6.01e-07
{txt}{space 14}_cons {c |}{col 21}{res}{space 2}-2.508673{col 33}{space 2} .1092839{col 44}{space 1}  -22.96{col 53}{space 3}0.000{col 61}{space 4}-2.722866{col 74}{space 3}-2.294481
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            sigma_u {c |} {res} .02530173
            {txt}sigma_e {c |} {res}  .0449851
                {txt}rho {c |} {res}  .2403216{txt}   (fraction of variance due to u_i)
{hline 20}{c BT}{hline 64}

{com}. 
. 
. 
. xtreg vaccination palma ln_income high_education mean_age gender_ratio urbanization population_hospital, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,764
{txt}Group variable: {res}region_1{txt}{col 49}Number of groups{col 67}={col 69}{res}       255

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.5281{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.5526{col 63}{txt}avg{col 67}={col 69}{res}       6.9
{txt}     overall = {res}0.5246{col 63}{txt}max{col 67}={col 69}{res}         7

{txt}{col 49}F({res}7{txt},{res}1502{txt}){col 67}={col 70}{res}   240.11
{txt}corr(u_i, Xb){col 16}= {res}-0.3252{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        vaccination{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}palma {c |}{col 21}{res}{space 2} -.014127{col 33}{space 2} .0060658{col 44}{space 1}   -2.33{col 53}{space 3}0.020{col 61}{space 4}-.0260253{col 74}{space 3}-.0022287
{txt}{space 10}ln_income {c |}{col 21}{res}{space 2} .1790667{col 33}{space 2} .0126963{col 44}{space 1}   14.10{col 53}{space 3}0.000{col 61}{space 4} .1541624{col 74}{space 3} .2039711
{txt}{space 5}high_education {c |}{col 21}{res}{space 2} .0082921{col 33}{space 2} .0046742{col 44}{space 1}    1.77{col 53}{space 3}0.076{col 61}{space 4}-.0008766{col 74}{space 3} .0174608
{txt}{space 11}mean_age {c |}{col 21}{res}{space 2} .0194649{col 33}{space 2}  .000896{col 44}{space 1}   21.72{col 53}{space 3}0.000{col 61}{space 4} .0177074{col 74}{space 3} .0212224
{txt}{space 7}gender_ratio {c |}{col 21}{res}{space 2} -.000536{col 33}{space 2} .0004902{col 44}{space 1}   -1.09{col 53}{space 3}0.274{col 61}{space 4}-.0014975{col 74}{space 3} .0004254
{txt}{space 7}urbanization {c |}{col 21}{res}{space 2} .0003241{col 33}{space 2}   .00027{col 44}{space 1}    1.20{col 53}{space 3}0.230{col 61}{space 4}-.0002054{col 74}{space 3} .0008537
{txt}population_hospital {c |}{col 21}{res}{space 2}-2.30e-06{col 33}{space 2} 9.79e-07{col 44}{space 1}   -2.35{col 53}{space 3}0.019{col 61}{space 4}-4.22e-06{col 74}{space 3}-3.77e-07
{txt}{space 14}_cons {c |}{col 21}{res}{space 2}-2.388725{col 33}{space 2} .1375063{col 44}{space 1}  -17.37{col 53}{space 3}0.000{col 61}{space 4} -2.65845{col 74}{space 3}-2.119001
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            sigma_u {c |} {res} .04764512
            {txt}sigma_e {c |} {res}  .0449851
                {txt}rho {c |} {res} .52869289{txt}   (fraction of variance due to u_i)
{hline 20}{c BT}{hline 64}
F test that all u_i=0: F({res}254{txt}, {res}1502{txt}) = {res}4.55{col 62}{txt}Prob > F = {res}0.0000

{com}. 
. 
. 
. xtreg vaccination palma ln_income high_education mean_age gender_ratio urbanization population_hospital i.year, fe
{res}
{txt}Fixed-effects (within) regression{col 49}Number of obs{col 67}={col 69}{res}     1,764
{txt}Group variable: {res}region_1{txt}{col 49}Number of groups{col 67}={col 69}{res}       255

{txt}R-sq:{col 49}Obs per group:
     within  = {res}0.6519{col 63}{txt}min{col 67}={col 69}{res}         1
{txt}     between = {res}0.4355{col 63}{txt}avg{col 67}={col 69}{res}       6.9
{txt}     overall = {res}0.5172{col 63}{txt}max{col 67}={col 69}{res}         7

{txt}{col 49}F({res}13{txt},{res}1496{txt}){col 67}={col 70}{res}   215.55
{txt}corr(u_i, Xb){col 16}= {res}0.1170{txt}{col 49}Prob > F{col 67}={col 73}{res}0.0000

{txt}{hline 20}{c TT}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{col 1}        vaccination{col 21}{c |}      Coef.{col 33}   Std. Err.{col 45}      t{col 53}   P>|t|{col 61}     [95% Con{col 74}f. Interval]
{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
{space 14}palma {c |}{col 21}{res}{space 2} -.011543{col 33}{space 2} .0053615{col 44}{space 1}   -2.15{col 53}{space 3}0.031{col 61}{space 4}-.0220599{col 74}{space 3} -.001026
{txt}{space 10}ln_income {c |}{col 21}{res}{space 2} .0248271{col 33}{space 2} .0151379{col 44}{space 1}    1.64{col 53}{space 3}0.101{col 61}{space 4}-.0048667{col 74}{space 3}  .054521
{txt}{space 5}high_education {c |}{col 21}{res}{space 2}-.0028886{col 33}{space 2} .0041016{col 44}{space 1}   -0.70{col 53}{space 3}0.481{col 61}{space 4}-.0109341{col 74}{space 3}  .005157
{txt}{space 11}mean_age {c |}{col 21}{res}{space 2} .0055197{col 33}{space 2}  .001009{col 44}{space 1}    5.47{col 53}{space 3}0.000{col 61}{space 4} .0035406{col 74}{space 3} .0074988
{txt}{space 7}gender_ratio {c |}{col 21}{res}{space 2}-.0018416{col 33}{space 2} .0004338{col 44}{space 1}   -4.25{col 53}{space 3}0.000{col 61}{space 4}-.0026925{col 74}{space 3}-.0009908
{txt}{space 7}urbanization {c |}{col 21}{res}{space 2} .0002475{col 33}{space 2} .0002347{col 44}{space 1}    1.05{col 53}{space 3}0.292{col 61}{space 4}-.0002129{col 74}{space 3}  .000708
{txt}population_hospital {c |}{col 21}{res}{space 2} 8.80e-07{col 33}{space 2} 8.60e-07{col 44}{space 1}    1.02{col 53}{space 3}0.307{col 61}{space 4}-8.08e-07{col 74}{space 3} 2.57e-06
{txt}{space 19} {c |}
{space 15}year {c |}
{space 14}2016  {c |}{col 21}{res}{space 2}  .005918{col 33}{space 2} .0036513{col 44}{space 1}    1.62{col 53}{space 3}0.105{col 61}{space 4}-.0012443{col 74}{space 3} .0130802
{txt}{space 14}2017  {c |}{col 21}{res}{space 2} .0274011{col 33}{space 2} .0037899{col 44}{space 1}    7.23{col 53}{space 3}0.000{col 61}{space 4}  .019967{col 74}{space 3} .0348351
{txt}{space 14}2018  {c |}{col 21}{res}{space 2}  .050294{col 33}{space 2} .0038499{col 44}{space 1}   13.06{col 53}{space 3}0.000{col 61}{space 4} .0427422{col 74}{space 3} .0578458
{txt}{space 14}2019  {c |}{col 21}{res}{space 2} .0689042{col 33}{space 2}  .004866{col 44}{space 1}   14.16{col 53}{space 3}0.000{col 61}{space 4} .0593592{col 74}{space 3} .0784492
{txt}{space 14}2020  {c |}{col 21}{res}{space 2} .1007216{col 33}{space 2} .0051578{col 44}{space 1}   19.53{col 53}{space 3}0.000{col 61}{space 4} .0906043{col 74}{space 3} .1108389
{txt}{space 14}2021  {c |}{col 21}{res}{space 2} .1085626{col 33}{space 2} .0064639{col 44}{space 1}   16.80{col 53}{space 3}0.000{col 61}{space 4} .0958834{col 74}{space 3} .1212418
{txt}{space 19} {c |}
{space 14}_cons {c |}{col 21}{res}{space 2} .0906899{col 33}{space 2} .1843793{col 44}{space 1}    0.49{col 53}{space 3}0.623{col 61}{space 4}-.2709795{col 74}{space 3} .4523593
{txt}{hline 20}{c +}{hline 11}{hline 11}{hline 9}{hline 8}{hline 13}{hline 12}
            sigma_u {c |} {res} .05079978
            {txt}sigma_e {c |} {res}  .0387108
                {txt}rho {c |} {res} .63263712{txt}   (fraction of variance due to u_i)
{hline 20}{c BT}{hline 64}
F test that all u_i=0: F({res}254{txt}, {res}1496{txt}) = {res}4.54{col 62}{txt}Prob > F = {res}0.0000

{com}. log close
      {txt}name:  {res}<unnamed>
       {txt}log:  {res}C:\Users\Han\Desktop\document\불평등 연구\주제30_불평등과 백신\humanities and social science communications\data\analysis_2.smcl
  {txt}log type:  {res}smcl
 {txt}closed on:  {res}14 Sep 2024, 00:23:37
{txt}{.-}
{smcl}
{txt}{sf}{ul off}